<template>
   内容：<p>{{ query.content }}</p>
</template>

<script lang="ts" setup name="newDetail">
    import { useRoute } from 'vue-router';
    import { toRefs } from 'vue';

    let route = useRoute();
    let {query} = toRefs(route)
</script>

<style scoped>
.home {
 text-align: center;
}

.home img {
 margin-top: 20px;
 border-radius: 10px;
 box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.home p {
 font-size: 18px;
 color: #555;
 margin-top: 10px;
}
</style>